package com.zznzzn.myweb.mapper;

import com.zznzzn.myweb.pojo.Favourite;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FavMapper {
    public int insertFav(Favourite favourite);
    public int deleteFav(@Param("itemid") String itemid,@Param("uuid") String uuid);
    public List<Favourite> queryFavByUuid(@Param("uuid") String uuid);
}
